using System.ComponentModel.DataAnnotations.Schema;
using RBAC.Domain;

namespace RBAC.Read.Api.Application.Dto.ERP.LoggingTables
{
    /// <summary>
    /// 供仓储使用的日志记录读取模型（继承 BaseEntity 以满足仓储泛型约束）
    /// </summary>
    [Table("LoggingTable")]
    public class LoggingTableRecord : BaseEntity
    {
        public int LoggingId { get; set; }
        public int UserId { get; set; }
        public string UserName { get; set; } = string.Empty;
        public string OperationContent { get; set; } = string.Empty;
        // CreateTime 与 IsDeleted 来自 BaseEntity，可直接映射
    }
}
